package com.example.administrator.test.passengernearcar;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

/**
 * Created by Administrator on 2016/12/20.
 */
public interface PostRoute {
    @Headers({"Content-Type: application/json","Accept: application/json"})
    @POST("/ck")
    Call<TurnNearCarBean> postNearCar(@Body RequestBody route);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @POST("/ck")
    Call<TurnOrderBean> postOrder(@Body RequestBody route);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @POST("/ck")
    Call<TurnSubmitOrderBean> SubmitOrder(@Body RequestBody route);

}
